package com.mrd.gtimp.business.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * <p> application name: gtimp <p> copyright: Copyright@2012 明睿达科技有限公司
 */

/**
 * @author yangyl
 */
@Entity(name = "CDAMS_QP_COMPANYS")
public class CompanyQp implements Serializable {
    private static final long serialVersionUID = 1L;

    //----2.0
    @Id
    @Column(name = "company_code")
    private String companyCode;
    @Column
    private String COMPANY_NAME;
    @Column
    private String COMPANY_ADDRESS;
    @Column
    private String COMPANY_PHONE;
    @Column
    private String COMPANY_FAX;

    @Column(name = "COMPANY_CO_UNITE")
    private String companyCoUnite;

    //3.0
    /**
     * 归属公司
     */
    @Transient
    private String referenceCompanyId;


    // getter/setter
    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCOMPANY_NAME() {
        return COMPANY_NAME;
    }

    public void setCOMPANY_NAME(String cOMPANY_NAME) {
        COMPANY_NAME = cOMPANY_NAME;
    }

    public String getCOMPANY_ADDRESS() {
        return COMPANY_ADDRESS;
    }

    public void setCOMPANY_ADDRESS(String cOMPANY_ADDRESS) {
        COMPANY_ADDRESS = cOMPANY_ADDRESS;
    }

    public String getCOMPANY_PHONE() {
        return COMPANY_PHONE;
    }

    public void setCOMPANY_PHONE(String cOMPANY_PHONE) {
        COMPANY_PHONE = cOMPANY_PHONE;
    }

    public String getCOMPANY_FAX() {
        return COMPANY_FAX;
    }

    public void setCOMPANY_FAX(String cOMPANY_FAX) {
        COMPANY_FAX = cOMPANY_FAX;
    }

    public String getReferenceCompanyId() {
        return referenceCompanyId;
    }

    public void setReferenceCompanyId(String referenceCompanyId) {
        this.referenceCompanyId = referenceCompanyId;
    }

    public String getCompanyCoUnite() {
        return companyCoUnite;
    }

    public void setCompanyCoUnite(String companyCoUnite) {
        this.companyCoUnite = companyCoUnite;
    }

    @Override
    public String toString() {
        return "CompanyQp{" +
                "companyCode='" + companyCode + '\'' +
                ", COMPANY_NAME='" + COMPANY_NAME + '\'' +
                ", COMPANY_ADDRESS='" + COMPANY_ADDRESS + '\'' +
                ", COMPANY_PHONE='" + COMPANY_PHONE + '\'' +
                ", COMPANY_FAX='" + COMPANY_FAX + '\'' +
                ", referenceCompanyId='" + referenceCompanyId + '\'' +
                '}';
    }
}
